local-CVE-2025-8058
Origin: backport, https://sourceware.org/git/?p=glibc.git;a=commit;h=
6fa61e5997cca8c92e7ea9816341ecb63f8623e3
From
6fa61e5997cca8c92e7ea9816341ecb63f8623e3 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Mon, 21 Jul 2025 21:43:49 +0200
Subject: [PATCH] posix: Fix double-free after allocation failure in regcomp
(bug 33185)
If a memory allocation failure occurs during bracket expression
parsing in regcomp, a double-free error may result.
Reported-by: Anastasia Belova <abelova@astralinux.ru>
Co-authored-by: Paul Eggert <eggert@cs.ucla.edu>
Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
(cherry picked from commit
7ea06e994093fa0bcca0d0ee2c1db271d8d7885d)
Gbp-Pq: Topic any
Gbp-Pq: Name local-CVE-2025-8058.diff